using UnityEngine;

public class SocialLeadButton : MonoBehaviour
{
	public void Awake()
	{
		if (!BehaviourSingleton<Social>.instance.isPlatformSupported())
		{
			UITools.SetActive(base.gameObject, false);
		}
	}

	public void OnClick()
	{
		BehaviourSingleton<Social>.instance.showLeaderboard();
	}
}
